﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace EFong.Contract
{
    [DataContract]
    public class FailValue
    {
        [DataMember]
        public string Name { get; set; }
        [DataMember]
        public object Value { get; set; }

        public FailValue(string name)
        {
            this.Name = name;
        }

        public FailValue(string name, object value)
        {
            this.Name = name;
            this.Value = value;
        }

        public FailValue() { }
    }
}
